<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
<h1 v-if="awesome">Vue is awesome!</h1>
<h1 v-else>Oh no 😢</h1>
</div>

<div id="app-2">
    <div v-if="Math.random()>0.5">
        Now you see me
    </div>
    <div v-else>
        Now you don't
    </div>
</div>

<script>
    var app2= new Vue({
       el:'#app-2',
    });
    var app = new Vue({
        el:'#app',
        data: {
            awesome: true
        }
    })

</script>

</body>
</html>